package com.sunq.studio.sys.service;

import com.sunq.studio.sys.domain.TbSysBookOrder;

import java.util.List;
import java.util.Map;

/**
 * Created by sunq on 2019/7/30.
 */
public interface PayService {

    TbSysBookOrder Save(TbSysBookOrder tbSysBookOrder);


    int notifySuccess(Map map);

    int notifyFail(Map map);
    int notifyFail(TbSysBookOrder bookOrder);
    TbSysBookOrder selectOrderByOrderId(String orderId);
    List<TbSysBookOrder> getOrderByUserId(Integer userId,int page);

}
